home *** CD-ROM | disk | FTP | other *** search
/ Planet Source Code Jumbo …e CD Visual Basic 1 to 7 / 4_2005-2006.ISO / data / Zips / Wisdom_Quo199211552006.psc / Wisdom Quotes / extracttxtQuotes.frm < prev    next >
Text File  |  2006-05-04  |  6KB  |  194 lines

  1. VERSION 5.00
  2. Object = "{683364A1-B37D-11D1-ADC5-006008A5848C}#1.0#0"; "dhtmled.ocx"
  3. Begin VB.Form Form1 
  4.    BorderStyle     =   1  'Fixed Single
  5.    Caption         =   "Quotes"
  6.    ClientHeight    =   3900
  7.    ClientLeft      =   45
  8.    ClientTop       =   330
  9.    ClientWidth     =   5310
  10.    Icon            =   "extracttxtQuotes.frx":0000
  11.    LinkTopic       =   "Form1"
  12.    MaxButton       =   0   'False
  13.    MinButton       =   0   'False
  14.    ScaleHeight     =   3900
  15.    ScaleWidth      =   5310
  16.    StartUpPosition =   3  'Windows Default
  17.    Begin VB.CommandButton Command1 
  18.       Caption         =   "ADD"
  19.       Height          =   375
  20.       Left            =   120
  21.       TabIndex        =   6
  22.       Top             =   4200
  23.       Width           =   1095
  24.    End
  25.    Begin DHTMLEDLibCtl.DHTMLEdit d1 
  26.       Height          =   1935
  27.       Left            =   120
  28.       TabIndex        =   4
  29.       Top             =   960
  30.       Width           =   5055
  31.       ActivateApplets =   0   'False
  32.       ActivateActiveXControls=   0   'False
  33.       ActivateDTCs    =   -1  'True
  34.       ShowDetails     =   0   'False
  35.       ShowBorders     =   0   'False
  36.       Appearance      =   1
  37.       Scrollbars      =   -1  'True
  38.       ScrollbarAppearance=   1
  39.       SourceCodePreservation=   -1  'True
  40.       AbsoluteDropMode=   0   'False
  41.       SnapToGrid      =   0   'False
  42.       SnapToGridX     =   50
  43.       SnapToGridY     =   50
  44.       BrowseMode      =   0   'False
  45.       UseDivOnCarriageReturn=   0   'False
  46.    End
  47.    Begin VB.FileListBox File1 
  48.       Height          =   285
  49.       Left            =   2640
  50.       TabIndex        =   3
  51.       Top             =   4440
  52.       Visible         =   0   'False
  53.       Width           =   255
  54.    End
  55.    Begin VB.HScrollBar HScroll1 
  56.       Height          =   255
  57.       Left            =   120
  58.       TabIndex        =   1
  59.       Top             =   3240
  60.       Width           =   5055
  61.    End
  62.    Begin VB.ComboBox Combo1 
  63.       BeginProperty Font 
  64.          Name            =   "Tahoma"
  65.          Size            =   8.25
  66.          Charset         =   0
  67.          Weight          =   400
  68.          Underline       =   0   'False
  69.          Italic          =   0   'False
  70.          Strikethrough   =   0   'False
  71.       EndProperty
  72.       Height          =   315
  73.       Left            =   120
  74.       TabIndex        =   0
  75.       Text            =   "Select"
  76.       Top             =   360
  77.       Width           =   2775
  78.    End
  79.    Begin VB.Label Label4 
  80.       AutoSize        =   -1  'True
  81.       Caption         =   "About"
  82.       BeginProperty Font 
  83.          Name            =   "Tahoma"
  84.          Size            =   8.25
  85.          Charset         =   0
  86.          Weight          =   400
  87.          Underline       =   0   'False
  88.          Italic          =   0   'False
  89.          Strikethrough   =   0   'False
  90.       EndProperty
  91.       ForeColor       =   &H00FF0000&
  92.       Height          =   195
  93.       Left            =   4440
  94.       TabIndex        =   8
  95.       Top             =   3600
  96.       Width           =   435
  97.    End
  98.    Begin VB.Label Label3 
  99.       AutoSize        =   -1  'True
  100.       Caption         =   "Author :"
  101.       Height          =   195
  102.       Left            =   120
  103.       TabIndex        =   7
  104.       Top             =   120
  105.       Width           =   555
  106.    End
  107.    Begin VB.Label Label2 
  108.       Alignment       =   1  'Right Justify
  109.       Caption         =   "0/0"
  110.       Height          =   195
  111.       Left            =   120
  112.       TabIndex        =   5
  113.       Top             =   3000
  114.       Width           =   5055
  115.    End
  116.    Begin VB.Label Label1 
  117.       Alignment       =   2  'Center
  118.       Caption         =   "By :"
  119.       BeginProperty Font 
  120.          Name            =   "Tahoma"
  121.          Size            =   8.25
  122.          Charset         =   0
  123.          Weight          =   700
  124.          Underline       =   0   'False
  125.          Italic          =   0   'False
  126.          Strikethrough   =   0   'False
  127.       EndProperty
  128.       ForeColor       =   &H00000000&
  129.       Height          =   195
  130.       Left            =   120
  131.       TabIndex        =   2
  132.       Top             =   720
  133.       Width           =   5100
  134.    End
  135. End
  136. Attribute VB_Name = "Form1"
  137. Attribute VB_GlobalNameSpace = False
  138. Attribute VB_Creatable = False
  139. Attribute VB_PredeclaredId = True
  140. Attribute VB_Exposed = False
  141. 'Welcome
  142. 'This is a Quotes Program Which Have Above 5500 Quotes From Various Persons .
  143. ' The Program is Created in 3 Hours After Fetching The Website WisdomQuotes.com
  144. 'Here You Will Find Some Functions That Will Load Quotes From Text File Database And Saperate By Authors
  145.  
  146. 'Author : Ajay Kumar @ AjayWares
  147. 'Email : ajay_bnl@yahoo.com
  148.  
  149.  
  150. Private Sub Combo1_Change()
  151. Combo1_Click
  152. End Sub
  153.  
  154. 'Load Quotes
  155. Private Sub Combo1_Click()
  156. 'Load Quotes ( By Categorie or author)
  157. LoadList Combo1.Text
  158. If UBound(Entrys) > 0 Then
  159. HScroll1.Max = UBound(Entrys)
  160. HScroll1.Min = 1
  161. HScroll1.Value = 1
  162. Label2.Caption = HScroll1.Value & "/" & UBound(Entrys) & " of " & TotalEntrys
  163. HScroll1_Change
  164. End If
  165.  
  166. End Sub
  167.  
  168.  
  169. Private Sub Form_Load()
  170.  
  171. LoadCates
  172. If Combo1.ListCount > 0 Then
  173. Combo1.ListIndex = 0
  174. End If
  175. End Sub
  176.  
  177. Private Sub HScroll1_Change()
  178. Label1.Caption = "By : " & Entrys(HScroll1.Value).Author
  179. d1.DocumentHTML = "<font size='2' color='blue'>" & Entrys(HScroll1.Value).Quote & "</font>"
  180. Label2.Caption = HScroll1.Value & "/" & UBound(Entrys) & " of " & TotalEntrys
  181.  
  182. End Sub
  183.  
  184. Private Sub HScroll1_Scroll()
  185. HScroll1_Change
  186. End Sub
  187.  
  188. Private Sub Label4_Click()
  189. MsgBox "A Little Software Created By AjayWares " & vbCrLf & "Author : Ajay Kumar" & vbCrLf & "Email : ajay_bnl@yahoo.com" & vbCrLf & "Ripped Website : WisdomQuotes.com" & vbCrLf & "Only For Personal / Distribution Use ."
  190.  
  191. End Sub
  192.  
  193.  
  194.